home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / Coldfusion / coldfusion-60-win-en.exe / Application.cfm6 < prev    next >
Encoding:
Text File  |  2002-04-23  |  436 b   |  13 lines

  1. on point value of the alpha goal (newAlpha)...
  2.         if(Math.abs(newAlpha - _alpha) > 1){
  3.             //gradually fade the alpha transparency from its current value, to the new value
  4.             _alpha += (newAlpha - _alpha)/10;
  5.         }else{
  6.             //stop the gradual fade, and set the alpha value to the alpha Goal (newAlpha)
  7.             _alpha = newAlpha;
  8.         }
  9.         //increment the count variable by one
  10.         count++;
  11.  
  12.         //once the count reaches the predetermined delay value
  13.         if